package com.lemon.smartsafetynew.entity.hidden;

/**
 * Created by Andrew on 2017/9/21.
 */

public class SafeHiddenBo {

    public enum Status {

        create("1", "新建"),
        rectify("2", "整改"),
        review("3", "复查"),
        finish("4", "结束"),
        doc("5", "文书"),
        upload("6", "上传文书"),
        overtime_rectify("7", "超期未整改");

        private String value;
        private String desc;

        private Status(String value, String desc) {
            this.value = value;
            this.desc = desc;
        }

        public String getValue() {
            return value;
        }

        public void setValue(String value) {
            this.value = value;
        }

        public String getDesc() {
            return desc;
        }

        public void setDesc(String desc) {
            this.desc = desc;
        }

    }

    public enum SourceType {

        security_patrol("1", "安全巡查"),
        random_photo("2", "随手拍"),
        from_self_check_point("3", "风险点上报"),
        from_grid_point("4", "网格点上报");

        private String value;
        private String desc;

        private SourceType(String value, String desc) {
            this.value = value;
            this.desc = desc;
        }

        public String getValue() {
            return value;
        }

        public void setValue(String value) {
            this.value = value;
        }

        public String getDesc() {
            return desc;
        }

        public void setDesc(String desc) {
            this.desc = desc;
        }

    }

    public enum Select {

        selected(1, "隐患选中"),
        not_selected(-1, "隐患未选中");;

        private int value;
        private String desc;

        Select(int value, String desc) {
            this.value = value;
            this.desc = desc;
        }

        public int getValue() {
            return value;
        }

        public void setValue(int value) {
            this.value = value;
        }

        public String getDesc() {
            return desc;
        }

        public void setDesc(String desc) {
            this.desc = desc;
        }
    }

    public enum Report {

        report("1", "已上报"),
        not_report("0", "未上报");;

        private String value;
        private String desc;

        Report(String value, String desc) {
            this.value = value;
            this.desc = desc;
        }

        public String getValue() {
            return value;
        }

        public void setValue(String value) {
            this.value = value;
        }

        public String getDesc() {
            return desc;
        }

        public void setDesc(String desc) {
            this.desc = desc;
        }
    }

    public enum Result {

        no_pass("0", "不通过"),
        pass("1", "通过");

        private String value;
        private String desc;

        Result(String value, String desc) {
            this.value = value;
            this.desc = desc;
        }

        public String getValue() {
            return value;
        }

        public void setValue(String value) {
            this.value = value;
        }

        public String getDesc() {
            return desc;
        }

        public void setDesc(String desc) {
            this.desc = desc;
        }
    }

    public enum Doc {

        site_inspection_doc("0", "现场检查意见书"),
        order_rectification_doc("1", "责令限期整改指令书"),
        rectification_review_doc("2", "整改复查意见书");

        private String value;
        private String desc;

        Doc(String value, String desc) {
            this.value = value;
            this.desc = desc;
        }

        public String getValue() {
            return value;
        }

        public void setValue(String value) {
            this.value = value;
        }

        public String getDesc() {
            return desc;
        }

        public void setDesc(String desc) {
            this.desc = desc;
        }
    }

    public enum HandleSuggestion {

        within_a_limit_time("0", "责令企业限期整改"),
        real_time("1", "责令当场整改"),
        self_timed_rectification("2", "企业自我限期整改");

        private String value;
        private String desc;

        HandleSuggestion(String value, String desc) {
            this.value = value;
            this.desc = desc;
        }

        public String getValue() {
            return value;
        }

        public void setValue(String value) {
            this.value = value;
        }

        public String getDesc() {
            return desc;
        }

        public void setDesc(String desc) {
            this.desc = desc;
        }
    }

    public enum Type {

        empty("-1", "空文件"),
        img("0", "图片"),
        doc("1", "文档"),
        web("2", "网页"),
        video("3", "视频"),
        music("4", "音乐"),
        unknown("5", "未知"),
        other("6", "其他");

        private String value;
        private String desc;

        Type(String value, String desc) {
            this.value = value;
            this.desc = desc;
        }

        public String getValue() {
            return value;
        }

        public void setValue(String value) {
            this.value = value;
        }

        public String getDesc() {
            return desc;
        }

        public void setDesc(String desc) {
            this.desc = desc;
        }

    }

    public enum HiddenDangerNotice{
        hiddenDanger("1","【隐患通知】"),
        expire("2","【到期提醒】"),
        check("3","【巡查通知】"),
        warning("4","【预警报警】");

        private String value;
        private String desc;
        HiddenDangerNotice(String value, String desc) {
            this.value = value;
            this.desc = desc;
        }
        public String getValue() {
            return value;
        }

        public void setValue(String value) {
            this.value = value;
        }

        public String getDesc() {
            return desc;
        }

        public void setDesc(String desc) {
            this.desc = desc;
        }

    }
}
